projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a79b6fb
)
docs: Stop using gdk_surface_get_decorations
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 3 Mar 2020 20:25:41 +0000
(12:25 -0800)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 12 Mar 2020 18:56:20 +0000
(14:56 -0400)
docs/tools/shooter.c
patch
|
blob
|
history
diff --git
a/docs/tools/shooter.c
b/docs/tools/shooter.c
index 5074f3e8bcba5882f7699d469b0e91b2ad81786d..8f2fff6f16f21ad300bdbbea425dec1b40c27b22 100644
(file)
--- a/
docs/tools/shooter.c
+++ b/
docs/tools/shooter.c
@@
-213,12
+213,7
@@
static guint shot_id;
static gboolean
window_is_csd (GdkSurface *window)
{
- gboolean set;
- GdkWMDecoration decorations = 0;
-
- /* FIXME: is this accurate? */
- set = gdk_surface_get_decorations (window, &decorations);
- return (set && (decorations == 0));
+ return TRUE;
}
static gboolean